Identity Domain Setup Prerequisites
Complete the following setup before starting the OIRW configuration flow below. If the applications and groups already exist, verify their settings and reuse them.
-
Administrative prerequisites - Before beginning, confirm that you can access the OCI Console and have permission to:
-
View the target Identity Domain.
-
Create and activate confidential applications.
-
Grant the required application roles to the synchronization client.
-
Create groups and manage group membership.
-
Assign users or groups to the browser-login application, if application assignment is required.
-
-
Locate the Identity Domain base URL
-
Sign in to the OCI Console.
-
Open Identity & Security.
-
Under Identity, select Domains.
-
Select the Identity Domain used by OIRW.
-
Open Domain information.
-
Copy the Domain URL. Use this base URL as <IDCS_URI> in the configuration below.
-
-
Create the OIRW browser-login application - This application is used for interactive OIDC login. It must not be used for SCIM synchronization.
-
Create the application
-
In the target Identity Domain, select Integrated applications.
-
Select Add application.
-
Select Confidential Application.
-
Select Launch workflow.
-
Enter an application name, for example OIRW 26.1 Login.
-
Add an appropriate description.
-
Select Next.
-
-
Configure OAuth
-
Select Configure this application as a client now.
-
Enable the Authorization Code grant.
-
Use a confidential client with a client secret. OIRW's token-endpoint-auth setting must be CLIENT_SECRET_POST, as shown in the configuration below; this is the OIRW configuration value, not necessarily a Console option label.
-
Register the exact browser-facing Palette redirect URL: https://<PALETTE_HOST>:<PALETTE_HTTPS_PORT>/oidc/redirect.
Example: https://palette.example.com:9443/oidc/redirect
-
The registered URL must exactly match the redirect URI sent by OIRW, including the protocol, DNS name, port, any deployed context path, and /oidc/redirect path. The example assumes Palette is deployed at the root context.
-
Set the Post-logout redirect URL to <UI_URL>.
Example: https://oirw.example.com:8861/RulesWorkbench
-
Ensure OIRW requests the openid scope. Add any additional approved resource scopes to the application's allowed resources and to OIRW's base-scopes configuration, as required for the deployment.
-
-
Configure application access - If the Identity Domain requires explicit application assignment:
-
Enable Enforce grants as authorization.
-
Assign the appropriate OIRW users or groups to the application after it has been created.
-
Ensure the test user is assigned, either directly or through an assigned group.
Application assignment controls who may use the login application. It is separate from OIRW roles and environment mappings.
-
-
Finish and activate
-
Complete the workflow.
-
Open the newly created application.
-
Select Activate and confirm activation.
-
Open OAuth configuration or General information, as available in the Console.
-
Copy the Client ID and Client secret.
-
Store the client secret in the approved secret-management system.
-
Record only references in this guide:
-
OIDC client ID reference: <OIDC_CLIENT_ID_REFERENCE>
-
OIDC client secret reference: <OIDC_CLIENT_SECRET_REFERENCE>
-
-
Create the OIRW synchronization application - This is a separate confidential application used by Palette for server-to-server SCIM operations. It does not authenticate end users.
-
Create the application
-
Return to Integrated applications in the same Identity Domain.
-
Select Add application.
-
Select Confidential Application.
-
Select Launch workflow.
-
Enter a name such as OIRW 26.1 SCIM Synchronization.
-
Add a description indicating that the application is used by Palette for user and group synchronization, then select Next.
-
-
Configure the OAuth client
-
Select Configure this application as a client now.
-
Enable only the Client Credentials grant.
-
Use urn:opc:idm:__myscopes__ as the scope in Palette's SCIM token requests, through the idcs-user-sync.scope setting shown below. The permissions returned for this scope depend on the application roles granted to the client; the scope itself does not grant administrative permissions.
-
-
Grant the required application role - The synchronization flow described here requires permission to:
-
Read users.
-
Read groups.
-
Create users when approved.
-
Update user email information.
-
Add users to mapped groups.
-
Remove users from mapped groups.
Grant the least-privileged application role that permits these operations. For this flow, the expected role is User Administrator; verify that it covers the required operations in the target Identity Domain.
Under the OAuth client's Token issuance policy, use Add app roles to grant the approved role to the synchronization application.
-
-
Finish and activate
-
Complete the application workflow.
-
Open the application.
-
Select Activate and confirm activation.
-
Open OAuth configuration or General information, as available in the Console.
-
Copy the SCIM client ID and SCIM client secret.
-
Store the client secret in the approved secret-management system.
Record only references in this guide:
-
SCIM client ID reference: <SCIM_CLIENT_ID_REFERENCE>
-
SCIM client secret reference: <SCIM_CLIENT_SECRET_REFERENCE>
-
-
-
Create the OIRW groups
-
In the same Identity Domain, open Groups.
-
Create or verify the groups listed below.
Identity Domain group OIRW Role OIRW_ADMINISTRATORS admin OIRW_CONFIGURERS configurer OIRW_BUILD_MANAGER build_manager -
Add the appropriate test users to the groups.
-
If the login application enforces application assignment, assign these groups to the OIRW login application.
Group names are case-sensitive from OIRW's perspective and must exactly match group-role-mappings in idcs-security.yaml.
-